<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <title></title>
        <link rel="stylesheet" rev="stylesheet" href="{{$http_url}}/css/style.css" type="text/css" media="all" />
    </head>

    <body class="ContentBody">
        <form action="{{$http_url}}/webDomin/configAction/" method="post"  name="form" >
            <div class="MainDiv">
                <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
                    <tr>
                        <th class="tablestyle_title" >修改系统信息</th>
                    </tr>
                    <tr>
                        <td class="CPanel">
                            <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>系统信息</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap align="right" width="15%">网站域名:</td>
                                                    <td width="35%"><input name='siteHeader' id="siteHeader" type="text" class="text" style="width:154px" value="{{$httpUrl}}" /></td>
                                                </tr>
<!--                                                <tr>
                                                    <td nowrap align="right" width="15%">用户登录失败次数:</td>
                                                    <td width="35%"><input id="loginErrorCount" name='loginErrorCount' type="text" class="text" style="width:154px" value="{{$userLoginError}}" /></td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="15%">密码过期天数:</td>
                                                    <td width="35%"><input name='expiredTime' id="expiredTime" type="text" class="text" style="width:154px" value="{{$expiredTime}}" /></td>
                                                </tr>-->
                                                <br>
                                            </table>
                                            <br />
                                        </fieldset></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" height="50px">
                            <input id="submit" type="submit" name="submit" value="保存" class="button" />
                        </td>
                    </tr>
                </table>
            </div>
        </form>
        <script type="text/javascript" src="{{$http_url}}/js/jquery.min.js"></script>
        <script type="text/javascript" src="{{$http_url}}/js/authentication.js"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                $("#submit").click(function(){
                    var pattern = /^(?:(https|http):\/\/)?[0-9a-zA-Z]+\.[0-9a-zA-Z]+_?[0-9a-zA-Z]+\.(?:com(?:.cn)?|net|org|info|mobi)$/;
                    var siteHeader=$("#siteHeader").val();
                    if(!pattern.test(siteHeader)){
                        alert("请输入正确的域名!");
                        return false;
                    }
                });
            })
        </script>
    </body>
</html>
